#每秒打印一次传感器数据

import utime as time
import lth_485
def main():
    while True:
        humidity,cTemp = lth_485.get_HC()
        # light = lth_485.get_light()
        print('humidity:{},cTemp:{}'.format(humidity,cTemp))#,light:{}
        time.sleep(1)

if __name__ == '__main__':
    main()

